package com.surpassun.emall.service;

import java.util.List;

import com.surpassun.emall.model.Category;

public interface CategoryService extends AbstractService<Category>  {

	public void addCategory(String name, Category parent);
	
	public void updateCategory(long categoryId, String name, Category parent);

	public List<Category> getPopularCategories();

	public void initializeCategories(String[] productCategories, Category parentCategory);

	public List<Category> getRootCategories();
}
